PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Spiral / Flexi + amandio c - piercing 02 nz.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.900 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=1.169 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=5 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.000 |
| 26 | fWaveScale=0.900 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=1.000 |
| 29 | fModWaveAlphaStart=2.000 |
| 30 | fModWaveAlphaEnd=2.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=2.853 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00600 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=-0.941 |
| 62 | mv_dy=0.426 |
| 63 | mv_l=5.000 |
| 64 | mv_r=0.316 |
| 65 | mv_g=0.078 |
| 66 | mv_b=0.942 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=100 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.78903 |
| 136 | shapecode_0_ang=0.62832 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.02009 |
| 139 | shapecode_0_r=0.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.700 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_init1=vx = 0; |
| 152 | shape_0_init2=vy = 0; |
| 153 | shapecode_1_enabled=0 |
| 154 | shapecode_1_sides=4 |
| 155 | shapecode_1_additive=0 |
| 156 | shapecode_1_thickOutline=0 |
| 157 | shapecode_1_textured=0 |
| 158 | shapecode_1_num_inst=1 |
| 159 | shapecode_1_x=0.500 |
| 160 | shapecode_1_y=0.500 |
| 161 | shapecode_1_rad=0.10000 |
| 162 | shapecode_1_ang=0.00000 |
| 163 | shapecode_1_tex_ang=0.00000 |
| 164 | shapecode_1_tex_zoom=1.00000 |
| 165 | shapecode_1_r=1.000 |
| 166 | shapecode_1_g=0.000 |
| 167 | shapecode_1_b=0.000 |
| 168 | shapecode_1_a=1.000 |
| 169 | shapecode_1_r2=0.000 |
| 170 | shapecode_1_g2=1.000 |
| 171 | shapecode_1_b2=0.000 |
| 172 | shapecode_1_a2=0.000 |
| 173 | shapecode_1_border_r=1.000 |
| 174 | shapecode_1_border_g=1.000 |
| 175 | shapecode_1_border_b=1.000 |
| 176 | shapecode_1_border_a=0.100 |
| 177 | shapecode_2_enabled=0 |
| 178 | shapecode_2_sides=4 |
| 179 | shapecode_2_additive=0 |
| 180 | shapecode_2_thickOutline=0 |
| 181 | shapecode_2_textured=0 |
| 182 | shapecode_2_num_inst=1 |
| 183 | shapecode_2_x=0.500 |
| 184 | shapecode_2_y=0.500 |
| 185 | shapecode_2_rad=0.10000 |
| 186 | shapecode_2_ang=0.00000 |
| 187 | shapecode_2_tex_ang=0.00000 |
| 188 | shapecode_2_tex_zoom=1.00000 |
| 189 | shapecode_2_r=1.000 |
| 190 | shapecode_2_g=0.000 |
| 191 | shapecode_2_b=0.000 |
| 192 | shapecode_2_a=1.000 |
| 193 | shapecode_2_r2=0.000 |
| 194 | shapecode_2_g2=1.000 |
| 195 | shapecode_2_b2=0.000 |
| 196 | shapecode_2_a2=0.000 |
| 197 | shapecode_2_border_r=1.000 |
| 198 | shapecode_2_border_g=1.000 |
| 199 | shapecode_2_border_b=1.000 |
| 200 | shapecode_2_border_a=0.100 |
| 201 | shapecode_3_enabled=0 |
| 202 | shapecode_3_sides=4 |
| 203 | shapecode_3_additive=0 |
| 204 | shapecode_3_thickOutline=0 |
| 205 | shapecode_3_textured=0 |
| 206 | shapecode_3_num_inst=1 |
| 207 | shapecode_3_x=0.500 |
| 208 | shapecode_3_y=0.500 |
| 209 | shapecode_3_rad=0.10000 |
| 210 | shapecode_3_ang=0.00000 |
| 211 | shapecode_3_tex_ang=0.00000 |
| 212 | shapecode_3_tex_zoom=1.00000 |
| 213 | shapecode_3_r=1.000 |
| 214 | shapecode_3_g=0.000 |
| 215 | shapecode_3_b=0.000 |
| 216 | shapecode_3_a=1.000 |
| 217 | shapecode_3_r2=0.000 |
| 218 | shapecode_3_g2=1.000 |
| 219 | shapecode_3_b2=0.000 |
| 220 | shapecode_3_a2=0.000 |
| 221 | shapecode_3_border_r=1.000 |
| 222 | shapecode_3_border_g=1.000 |
| 223 | shapecode_3_border_b=1.000 |
| 224 | shapecode_3_border_a=0.100 |
| 225 | per_frame_init_1= |
| 226 | per_frame_init_2=c_x = 0.5; |
| 227 | per_frame_init_3=c_y = 0.5; |
| 228 | per_frame_1= |
| 229 | per_frame_2=sx=1+.01*(8*bass%8)*equal(time%(int(24-2*bass)),0); |
| 230 | per_frame_3=sy=1+.01*(8*mid%8) *equal(time%(12+int(24-2*bass)),0); |
| 231 | per_frame_4= |
| 232 | per_frame_5=q1 = aspectx; |
| 233 | per_frame_6=q2 = aspecty; |
| 234 | per_frame_7=rot = 0; |
| 235 | per_frame_8=zoom = 1; |
| 236 | per_frame_9=warp = 0; |
| 237 | per_frame_10= |
| 238 | per_frame_11= |
| 239 | per_frame_12=vol = bass*8 + mid*4 + treb*2; |
| 240 | per_frame_13=vol = vol*above(vol,17); |
| 241 | per_frame_14=monitor = vol; |
| 242 | per_frame_15=beat = above(vol,res); |
| 243 | per_frame_16=diff = (1-beat)*diff + beat*(vol-res); |
| 244 | per_frame_17=res = beat*(vol+2*diff) + (1-beat)*(res - (diff*0.04 + 0.12)*60/fps); |
| 245 | per_frame_18=res = max(0,res); |
| 246 | per_frame_19=monitor = res; |
| 247 | per_frame_20= |
| 248 | per_frame_21=r = if(beat, 0.01*(int(rand(200))-100)*0.01,r); |
| 249 | per_frame_22=rot = r; |
| 250 | per_frame_23= |
| 251 | per_frame_24=c_x = if(beat,0.5 + 0.5*(int(rand(200))-100)*0.01, c_x); |
| 252 | per_frame_25=c_y = if(beat,0.5 + 0.5*(int(rand(200))-100)*0.01, c_y); |
| 253 | per_frame_26= |
| 254 | per_frame_27= |
| 255 | per_frame_28=q23 = c_x; |
| 256 | per_frame_29=q24 = c_y; |
| 257 | per_frame_30= |
| 258 | per_frame_31=// elastic thread code by Flexi |
| 259 | per_frame_32= |
| 260 | per_frame_33=xx1 = xx1*0.9 + (bass)*0.01; |
| 261 | per_frame_34=xx2 = xx2*0.9 + (treb)*0.01; |
| 262 | per_frame_35=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 263 | per_frame_36=x1 = 0.5 + (xx1-xx2)*2; |
| 264 | per_frame_37=y1 = 0.4 + yy1*1.5; |
| 265 | per_frame_38=dt = 0.03/fps; |
| 266 | per_frame_39=vx2 = vx2*(1-2*dt) + dt*((x1+x3-2*x2)*10); |
| 267 | per_frame_40=vy2 = vy2*(1-2*dt) + dt*((y1+y3-2*y2)*10-0.5); |
| 268 | per_frame_41=vx3 = vx3*(1-2*dt) + dt*((x2+x4-2*x3)*10); |
| 269 | per_frame_42=vy3 = vy3*(1-2*dt) + dt*((y2+y4-2*y3)*10-0.5); |
| 270 | per_frame_43=vx4 = vx4*(1-2*dt) + dt*((x3-x4)*10); |
| 271 | per_frame_44=vy4 = vy4*(1-2*dt) + dt*((y3-y4)*10-0.5); |
| 272 | per_frame_45=x2 = x2 + vx2; y2 = y2 + vy2; |
| 273 | per_frame_46=x3 = x3 + vx3; y3 = y3 + vy3; |
| 274 | per_frame_47=x4 = x4 + vx4; y4 = y4 + vy4; |
| 275 | per_frame_48=vx2 = if(above(x2,0),vx2,abs(vx2)*0.5); |
| 276 | per_frame_49=vx2 = if(below(x2,1),vx2,-abs(vx2)*0.5); |
| 277 | per_frame_50=vx3 = if(above(x3,0),vx3,abs(vx3)*0.5); |
| 278 | per_frame_51=vx3 = if(below(x3,1),vx3,-abs(vx3)*0.5); |
| 279 | per_frame_52=vx4 = if(above(x4,0),vx4,abs(vx4)*0.5); |
| 280 | per_frame_53=vx4 = if(below(x4,1),vx4,-abs(vx4)*0.5); |
| 281 | per_frame_54=vy2 = if(above(y2,0),vy2,abs(vy2)*0.5); |
| 282 | per_frame_55=vy2 = if(below(y2,1),vy2,-abs(vy2)*0.5); |
| 283 | per_frame_56=vy3 = if(above(y3,0),vy3,abs(vy3)*0.5); |
| 284 | per_frame_57=vy3 = if(below(y3,1),vy3,-abs(vy3)*0.5); |
| 285 | per_frame_58=vy4 = if(above(y4,0),vy4,abs(vy4)*0.5); |
| 286 | per_frame_59=vy4 = if(below(y4,1),vy4,-abs(vy4)*0.5); |
| 287 | per_frame_60=q1 = x1;q2 = x2;q3 = x3;q4 = x4; |
| 288 | per_frame_61=q5 = y1;q6 = y2;q7 = y3;q8 = y4; |
| 289 | per_frame_62=q9 = 1/aspectx; |
| 290 | per_frame_63=q10 = 1/aspecty; |
| 291 | per_frame_64=q11 = aspectx; |
| 292 | per_frame_65=q12 = aspecty; |
| 293 | per_frame_66=q13 = sqrt(vx4*vx4 + vy4*vy4)*0.8; |
| 294 | per_frame_67=q14 = atan2(vx4,vy4); |
| 295 | per_pixel_1=d = (pow(sqrt(sqr(x-q3)+sqr(y-q4)),2)-0.); |
| 296 | per_pixel_2=v = 0.03; |
| 297 | per_pixel_3=dx = v*(x-q23)*d; |
| 298 | per_pixel_4=dy = v*(y-q24)*d; |
| 299 | per_pixel_5= |
| 300 | per_pixel_6= |
| 301 | per_pixel_7=x = 0.5 + (x-0.5)*q11; |
| 302 | per_pixel_8=y = 0.5 + (y-0.5)*q12; |
| 303 | per_pixel_9=dir = -q14*1 + asin(1)*1; |
| 304 | per_pixel_10= |
| 305 | per_pixel_11=velocity = q13; |
| 306 | per_pixel_12=strength = 100; |
| 307 | per_pixel_13=size = 0.07; |
| 308 | per_pixel_14= |
| 309 | per_pixel_15=xx = q4; |
| 310 | per_pixel_16=yy = 1-q8; |
| 311 | per_pixel_17= |
| 312 | per_pixel_18= |
| 313 | per_pixel_19=x1 = xx +cos(dir+1.5708)*size; |
| 314 | per_pixel_20=y1 = yy -sin(dir+1.5708)*size; |
| 315 | per_pixel_21= |
| 316 | per_pixel_22=x2 = xx -cos(dir+1.5708)*size; |
| 317 | per_pixel_23=y2 = yy +sin(dir+1.5708)*size; |
| 318 | per_pixel_24= |
| 319 | per_pixel_25=d1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-size*2; |
| 320 | per_pixel_26=si1 = 1- 1/(1+pow(2,-d1*100)); |
| 321 | per_pixel_27= |
| 322 | per_pixel_28=d2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-size*2; |
| 323 | per_pixel_29=si2 = 1- 1/(1+pow(2,-d2*100)); |
| 324 | per_pixel_30= |
| 325 | per_pixel_31=dx += (si1*sin(y1-y)*d1 - si2*sin(y2-y)*d2)*strength*velocity; |
| 326 | per_pixel_32=dy += (-si1*sin(x1-x)*d1 + si2*sin(x2-x)*d2)*strength*velocity; |
| 327 | warp_1=`float2 d, uv_y, uv_z; |
| 328 | warp_2=`float3 dx, dy; |
| 329 | warp_3=` |
| 330 | warp_4=`shader_body |
| 331 | warp_5=`{ |
| 332 | warp_6=` |
| 333 | warp_7=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 334 | warp_8=` float3 rand = tex2D(sampler_noise_lq, dither_uv).xyz-0.5; |
| 335 | warp_9=` |
| 336 | warp_10=` d = texsize.zw*4; |
| 337 | warp_11=` dx = GetBlur1(uv_orig + float2(1,0)*d) - GetBlur1(uv_orig - float2(1,0)*d); |
| 338 | warp_12=` dy = GetBlur1(uv_orig + float2(0,1)*d) - GetBlur1(uv_orig - float2(0,1)*d); |
| 339 | warp_13=` |
| 340 | warp_14=` d = lerp(uv_orig,uv,1); |
| 341 | warp_15=` uv_y = d - float2(dx.y,dy.y)*texsize.zw*6; |
| 342 | warp_16=` uv_z = d - float2(dx.z,dy.z)*texsize.zw*6; |
| 343 | warp_17=` |
| 344 | warp_18=` |
| 345 | warp_19=` ret.y = GetPixel(uv_y).y - 0.008 + (1-GetPixel(uv_orig).x)*0.018; |
| 346 | warp_20=`float4 noise2 = tex3D(sampler_noisevol_hq, |
| 347 | warp_21=` ((uv.xyy |
| 348 | warp_22=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 349 | warp_23=` ).xyz* |
| 350 | warp_24=` float3(1,1,0)*0.05 + |
| 351 | warp_25=` time*float3(0,0,1)*0.4 |
| 352 | warp_26=` ); |
| 353 | warp_27=`if(ret.x+ret.y+ret.z>.5)ret -= (noise2)*.5; |
| 354 | warp_28=` ret.z = GetPixel(uv_z).z - 0.008 + (0+GetPixel(uv_orig).x)*0.018; |
| 355 | warp_29=` |
| 356 | warp_30=` ret.x = tex2D( sampler_fc_main, uv+rand*texsize.zw*.5 ).x; |
| 357 | warp_31=` ret.x += (ret.x - GetBlur3(uv).x)*0.15 + rand*0.0042; |
| 358 | warp_32=`} |
| 359 | comp_1=`shader_body |
| 360 | comp_2=`{ |
| 361 | comp_3=` float2 d = texsize.zw; |
| 362 | comp_4=` float3 dx = ( GetPixel(uv+float2(1,0)*d)-GetPixel(uv-float2(1,0)*d) ); |
| 363 | comp_5=` float3 dy = ( GetPixel(uv+float2(0,1)*d)-GetPixel(uv-float2(0,1)*d) ); |
| 364 | comp_6=`float2 dz = float2(dx.y,dy.y)*3; |
| 365 | comp_7=` |
| 366 | comp_8=`d = texsize.zw*2; |
| 367 | comp_9=`dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 368 | comp_10=`dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 369 | comp_11=` |
| 370 | comp_12=`dz +=float2(dx.y,dy.y); |
| 371 | comp_13=` |
| 372 | comp_14=`float3 bg = pow(length(dz)*0.8+0,0.7) + GetBlur2(uv).y*0.4-0.1; |
| 373 | comp_15=` |
| 374 | comp_16=`ret = bg*float3(0.3,0.5,0.7); |
| 375 | comp_17=`ret = lerp(ret,float3(0.2,0.1,0),GetPixel(uv + float2(dx.x,dy.x)*texsize.zw*18).x*6); |
| 376 | comp_18=`float4 noise2 = tex3D(sampler_noisevol_hq, |
| 377 | comp_19=` ((uv.xyy |
| 378 | comp_20=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 379 | comp_21=` ).xyz* |
| 380 | comp_22=` float3(1,1,0)*0.05 + |
| 381 | comp_23=` time*float3(0,0,1)*0.4 |
| 382 | comp_24=` ); |
| 383 | comp_25=`if(ret.x+ret.y+ret.z>.5)ret += (noise2)*.5; |
| 384 | comp_26=`ret = lerp(ret,1,GetPixel(uv).z); |
| 385 | comp_27=` |
| 386 | comp_28=`//ret = GetPixel(uv); |
| 387 | comp_29=`} |